<template>
	<view class="bg-summary">
		<span class="span-1">共{{sum}}项</span>
		<span class="span-1">合同总额:￥{{worksum}}</span>
		<span class="span-3">应收:￥{{sumprice}}</span>
	</view>
</template>

<script>
	export default{
		props:{
			sum:String,
			worksum:String,
			sumprice:String
		}
	}
</script>

<style scoped>
	.bg-summary{
		text-align: center;
		width: 100%;
		height: 40rpx;
		background-color: #2066FF ;
		color: #ffffff;
		font-size: 25rpx;
	}
	.span-1 {
		margin: 0 10rpx;
	}
	.span-3{
		margin: 0 30rpx;
	}
</style>